package com.woniuxy.classdeans.configuration;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;
/**
 * @Author weizihan
 * @Date 2020/7/20 2020/7/20
 * @Description 上传文件配置
 * @Since version-1.0
 */
@Component
@ConfigurationProperties(prefix = "file")
public class FileConfig {
    //上传文件的目录
    private  String uploadFilePatn;

    public String getUploadFilePatn() {
        return uploadFilePatn;
    }

    public void setUploadFilePatn(String uploadFilePatn) {
        this.uploadFilePatn = uploadFilePatn;
    }


}
